#include "login.h"
#include "ui_login.h"

login::login(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::login)
{
    ui->setupUi(this);
}

login::~login()
{
    delete ui;
}

void login::on_pushButton_clicked()
{
    qDebug() << "click-login";
    //判断用户名和密码是否正确
    //todo...

    //登录成功发送信号跳转到下一个页面
    emit this->gotoNextPage("container");
}


